package com.traffic.service.impl;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.traffic.constant.Status;

import com.traffic.entity.Param;
import com.traffic.exception.BaseException;


import com.traffic.mapper.ParamMapper;
import com.traffic.service.ParamService;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class ParamServiceImpl extends ServiceImpl<ParamMapper, Param> implements ParamService{

    @Autowired
    private ParamMapper paramMapper;

    @Override
    public List<Param> queryTargetParam(String ParamType) {
        QueryWrapper<Param> wrapper = new QueryWrapper<>();
        wrapper.like("name",ParamType);
        List<Param> Params=paramMapper.selectList(wrapper);

        return Params;
    }


}
